package org.geeks.gsrest.base.config.jackson;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * ObjectMapper
 * 
 * @author Geek-S
 *
 */
@Configuration
public class GlobalObjectMapper {

	/**
	 * 全局使用的ObjectMapper
	 * 
	 * @return ObjectMapper
	 */
	@Bean
	public ObjectMapper bjectMapper() {
		return new ObjectMapper();
	}
}
